package com.hd.el.test.dao.impl;

import java.sql.SQLException;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.orm.ibatis.SqlMapClientTemplate;

import com.hd.el.test.dao.UserDao;
import com.hd.el.test.model.UserBean;

public class UserDaoImpl implements UserDao {

	@Resource
	private SqlMapClientTemplate sqlMapClientTemplate;
	
	@SuppressWarnings("unchecked")
	public List<UserBean> queryUserInfoById(String userId) throws SQLException {
		return sqlMapClientTemplate.queryForList("queryUserInfoById", userId);
	}

}
